var app = getApp(), api = getApp().api;

Page({
    data: {
      express:{}
    },
    onLoad: function (t) {
        console.log('ttt', t)
        getApp().page.onLoad(this, t)
        this.loadData(t.activity_id);
    },
    loadData: function (t) {
        var e = this;
        getApp().core.showLoading({
            title: "正在加载"
        }), getApp().request({
            url: getApp().api.integral_lottery.get_express,
            data: {
              activity_id:t
            },
            success: function (t) {
              console.log('ttttt',t)
              getApp().core.hideLoading(),
              e.setData({
                express: t.express
              })

            }
        });
    },
    onReady: function () {
        getApp().page.onReady(this);
    },
    onShow: function () {
        getApp().page.onShow(this);
    },
    onHide: function () {
        getApp().page.onHide(this);
    },
    onUnload: function () {
        getApp().page.onUnload(this);
    },
    onPullDownRefresh: function () { },
    onReachBottom: function () { },
    copyText: function (t) {
        var e = t.currentTarget.dataset.text;
        getApp().core.setClipboardData({
            data: e,
            success: function () {
                getApp().core.showToast({
                    title: "已复制"
                });
            }
        });
    }
});